package com.shy.springframework.beans.factory.config;

import com.shy.springframework.beans.factory.HierarchicalBeanFactory;

/**
 * 配置接口，被大多数beanFactory实现
 */
public interface ConfigurableBeanFactory extends HierarchicalBeanFactory, SingletonBeanRegistry {

    String SCOPE_SINGLETON = "singleton";
    String SCOPE_PROTOTYPE = "prototype";

    void addBeanPostProcessor(BeanPostProcessor beanPostProcessor);

    void destroySingletons();
}
